#include<iostream>
#include<string>

using namespace std;

struct student
{
    string name;
    int age;
    int score;
};

struct teacher
{
    int id;
    string name;
    int age;
    struct student stu;
};

int main()
{
    teacher t;
    t.id = 100;
    t.name = "zhang";
    t.age = 30;
    t.stu.name = "wang";
    t.stu.age = 20;
    t.stu.score = 100;
    cout << t.id << endl;
    cout << t.name << endl;
    cout << t.age << endl;
    cout << t.stu.name << endl;
    cout << t.stu.age << endl;
    cout << t.stu.score << endl;
    
    
    return 0;
    
}